package com.kaoshi.management.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author author
 * @since 2024-11-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("xt_role_permissions")
@ApiModel(value="XtRolePermissions对象", description="")
public class XtRolePermissions implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField(value = "role_id")
    private Integer roleId;

    @TableField("permission_id")
    private Integer permissionId;
    @TableField(exist = false)
    private Integer[] permissionIds;

}
